package com.pkk.cloud.support.admin.oauth2.api.common.resp;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author peikunkun<br>
 * @version V1.0<br>
 * @Title: 获取的资源角色等信息<br>
 * @Description: <><br>
 * @date 2020/3/18 0018 下午 1:46<br>
 * @URL:[]
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PenguinSysUserAuthorizeResp implements Serializable {

  private static final long serialVersionUID = -4202857164000552438L;

  /**
   * 资源信息,接口地址url[角色相关联的资源页面的url地址]
   */
  private Collection<String> resources = new ArrayList<>();

  /***
   *角色信息,角色名称
   */
  private Collection<String> roles = new ArrayList<>();
}
